<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2022/12/5
 * Time: 13:14
 */

namespace app\model\tb;


use app\model\app\AppUserBasic;
use app\model\sys\SysUser;
use think\Model;

class TbUser extends Model
{
    protected $pk = 'user_id';
    public function basic(){
        return $this->hasOne(AppUserBasic::class,'user_id','user_id');
    }
    public function kefu(){
        return $this->hasOne(SysUser::class,'user_id','kefu_id');
    }
}